package com.cmbchina.creditcard.domain.support;

import com.cmbchina.creditcard.domain.model.CreditCard;

import java.util.List;

public interface CreditCardRepository {

    CreditCard saveCreditCard(CreditCard creditCard);

    CreditCard getCreditCardById(String id);

    boolean updateCreditCard(CreditCard creditCard);

    List<CreditCard> queryCreditCardList();

}
